#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.50)
AC_INIT([engcur], [0.9], [diogofsr at gmail dot com])
AC_CONFIG_SRCDIR([src/callbacks.c])
AC_CONFIG_HEADER([config.h])
AC_CONFIG_AUX_DIR([config])
AM_INIT_AUTOMAKE( engcur, 0.9 )

# Checks for programs.
AC_PROG_CC

# Checks for libraries.
PKG_CHECK_MODULES(ENGCUR_PACKAGE, [glib-2.0 gtk+-2.0 libglade-2.0])
AC_SUBST(ENGCUR_PACKAGE_CFLAGS)
AC_SUBST(ENGCUR_PACKAGE_LIBS)

# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([fcntl.h stdlib.h string.h unistd.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST

# Checks for library functions.
AC_FUNC_MALLOC
AC_FUNC_REALLOC

AC_CONFIG_FILES([Makefile
                 src/Makefile])
AC_OUTPUT
